<!--Copyright (C) Kherty.  All rights reserved.-->
<Window x:Class="OpenLS.Spreadsheet.UI.BugReportWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:ss="clr-namespace:OpenLS.Spreadsheet.UI" 
    Title="OpenLS.Spreadsheet.UI" Height="300" Width="300" Loaded="OnLoaded"
    >
  <Window.Resources>
    <ResourceDictionary>
      <ResourceDictionary.MergedDictionaries>
        <ss:WorkbookResources/>
      </ResourceDictionary.MergedDictionaries>
    </ResourceDictionary>
  </Window.Resources>
  <DockPanel>
    <Grid DockPanel.Dock="Top">
      <Grid.RowDefinitions>
        <RowDefinition/>
        <RowDefinition/>
        <RowDefinition/>
        <RowDefinition Height="Auto"/>
      </Grid.RowDefinitions>
      <Grid.ColumnDefinitions>

      </Grid.ColumnDefinitions>
      <StackPanel Orientation="Horizontal">
        <TextBlock>Type: </TextBlock>
        <TextBox Name="type" HorizontalAlignment ="Stretch"></TextBox>
      </StackPanel>
      <StackPanel Orientation="Horizontal" Grid.Row="1">
        <TextBlock>Description: </TextBlock>
        <TextBox Name="description" HorizontalAlignment ="Stretch"></TextBox>
      </StackPanel>
      <Button Click="OnInsert" Grid.Row="2">Insert bug report</Button>
      <TextBlock Name="fileName" Grid.Row="3"/>
    </Grid>
    <!--      <GridSplitter Grid.Row="1" ResizeBehavior="PreviousAndNext" ResizeDirection="Rows" Background="Black" Height="4" HorizontalAlignment="Stretch"></GridSplitter> -->
    <ContentControl Grid.Row="2" Content="{Binding Path=Workbook}"/>
  </DockPanel>
</Window>
